package ClimateControlProcessor.ClimateObjects;

public class Constant {
    public enum MODE{Auto, Manual,Debug};
    public enum FANDIRECTION{
    	HeadOnly, HeadNFoot, FootOnly, DefrostNFoot, Defrostonly, Recirculation,All
    }      
    /*
     * Variable used for air direction
     */
    public static boolean head=false; // control head air direction
    public static boolean foot=false; // control Foot air direction
    public static boolean defrost=false; // control Defrost air direction
    public static boolean reciculation=false; // control Recirculation air direction
    public static boolean tempSensor= true; 
        
    /*
     * Constant used for integer constants
     */
    public static int VALUE0 = 0;
    public static int VALUE1 = 1;
    public static int VALUE2 = 2;
    public static int VALUE3 = 3;
    public static int VALUE4 = 4;
    public static int VALUE5 = 5;
    public static int VALUE6 = 6;
    public static int VALUE7 = 7;
    public static int VALUE8 = 8;
    public static int VALUE9 = 9;
    public static int VALUE10 = 10;
    public static int VALUE11 = 11;
    public static int VALUE12 = 12;    
    public static int VALUE20 = 20;
    public static int VALUE18 = 18;
    public static int VALUE31 = 31;
    public static int VALUE32 = 32;
    public static int VALUE33 = 33;    
    public static int VALUE34 = 34;
    public static int VALUE35 = 35;
    public static int VALUE36 = 36;
    public static int VALUE37 = 37;
    public static int VALUE38 = 38;    
    
    public static int VALUE40 = 40;
    public static int VALUE60 = 60;
    public static int VALUE80 = 80;
    public static int VALUE100 = 100;
    public static int SEEKBAR_MAX = 2180;
    
    public static int FREQUENCY = 500;
    
    /*
     * String Constants (empty string, profile, config, etc)
     */
    public static String STR_EMTY = "";
    public static String PROFILE = "Profile.txt";
    public static String STR_POINT = "\\.";
    public static String DEFAULT = "default";
    public static String AUTO = "Auto";
    public static String MANUAL = "manual";
    public static String DEBUG = "debug";
    public static String DEBUG_AIR_DIR_HEAD = 	  		  "Air flow to front		: Functional";
    public static String DEBUG_AIR_DIR_HEAD_ERROR=		  "Air flow to front		: Not Functional";
    public static String DEBUG_AIR_DIR_FOOT = 			"\nAir flow to foot			: Functional";
    public static String DEBUG_AIR_DIR_FOOT_ERROR =		"\nAir flow to foot			: Not Functional";
    public static String DEBUG_AIR_DIR_DEFROST =		"\nAir flow to defrost		: Functional";
    public static String DEBUG_AIR_DIR_DEFROST_ERROR =	"\nAir flow to defrost		: Not Functional";
    public static String DEBUG_AIR_DIR_RECIRC = 		"\nAir flow to recirculation: Functional";
    public static String DEBUG_AIR_DIR_RECIRC_ERROR = 	"\nAir flow to recirculation: Not Functional";
    public static String DEBUG_FAN_INFO = 				"\nBlower Motor				: 100% pwm";
    public static String DEBUG_FAN_INFO_ERROR = 		"\nBlower Motor				: Error";
    public static String DEBUG_CC= 						"\nComp. Clutch				: Open"; 
    public static String DEBUG_CC_ERROR= 				"\nComp. Clutch				: Not Open";
    public static String DEBUG_MV= 						"\nMono Valve				: 100% pwm";
    public static String DEBUG_MV_ERROR= 				"\nMono Valve				: Error";
public static String DEBUG_TEMP=  						"\nTemp Sensor				: Functional";
    public static String DEBUG_TEMP_ERROR=  			"\nTemp Sensor				: Not Functional";
  
    
    
    public static CurrentVehicleStatus currentACConfig;
    public static CurrentVehicleStatus currentDebugACConfig;
    public static UserDesiredSettings desiredConfig;
    public static long currentTem;
    
    // Control the auto mode
    public static boolean autoFlag  = false;
}